<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="root">
			<h2 v-once>初始化的{{n}}</h2>
			<h2>{{n}}</h2>
			<button @click="n++">点我n+1</button>
		</div>
		<script type="text/javascript">
			const vm = new Vue({
				el: '#root',
				data: {
					n:1
				}
			})
		</script>
	</body>
</html>
